projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecbe9da
)
(x_set_font): Always store a font to the font parameter,
author
Jason Rumney
<jasonr@gnu.org>
Wed, 14 Jan 2009 12:08:49 +0000
(12:08 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Wed, 14 Jan 2009 12:08:49 +0000
(12:08 +0000)
never a fontset. (Bug#1562)
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index 7db5a1e1fcb9be3be9b18d735274a75e463b1ca1..7074e14077e5f74ef970cbeb8e7b6b988d5940a9 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-3391,7
+3391,7
@@
x_set_font (f, arg, oldval)
font_object = font_open_by_name (f, SDATA (ascii_font));
if (NILP (font_object))
error ("Font `%s' is not defined", SDATA (arg));
- arg =
fontset_name (fontset
);
+ arg =
AREF (font_object, FONT_NAME_INDEX
);
}
else
error ("The default fontset can't be used for a frame font");